package com.ruicar.afs.cloud.archive.utils;

import java.util.HashMap;
import java.util.Map;

/**
 * @description: 归档数据字典映射
 * @author: zyr
 * @date: 2020年9月9日 15:33:27
 */
public interface ArchiveConstants {

    //挂靠方式映射-apply
    public static final Map<String, Integer> ANCHOREDTYPE = new HashMap<String, Integer>() {{
        put("00", 1);//非挂靠
        put("01", 3);//LCV挂靠
        put("02", 2);//个体工商挂靠
        put("03", 4);//网约车挂靠
    }};

    //证件类型映射-apply
    public static final Map<String, String> CARDTYPE = new HashMap<String, String>() {{
        put("00001", "00001");//身份证
        put("00002", "00002");//户口本
        put("00003", "00003");//护照
        put("00004", "00004");//军官证
        put("00005", "00005");//港澳居民来往内地通行证
        put("00006", "00006");//台湾同胞来往内地通行证
    }};

    public static final String CACATEGORY_CAMAIN = "Camain";//申请
    public static final String CACATEGORY_CONTRACT = "Cacontract";//合同

    //申请人类型映射-apply
    public static final Map<String, Integer> PARTYTYPE = new HashMap<String, Integer>() {{
        put("01", 1);//主借人
        put("02", 3);//共借人
        put("03", 2);//保证人
        put("04", 4);//见证人
        put("05", 6);//二手车出卖人
    }};

    //网约车平台类型映射-apply
    public static final Map<String, String> NETWORKVEHICLETYPE = new HashMap<String, String>() {{
        put("01", "2");//滴滴
        put("02", "4");//快车
        put("03", "5");//百度
        put("04", "6");//大众
    }};

    //购车目的映射-apply
    public static final Map<String, String> PURPOSE = new HashMap<String, String>() {{
        put("00", "1");//自用
        put("01", "2");//商用
    }};


}
